p = int(input())
n = int(input())
i = float(input())
f = p * pow((1 + i),n)
print(f'利息={f-p:.2f}')